home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Apache 1.0 / README < prev   
Text File  |  1995-12-04  |  2KB  |  68 lines

  1.                                  Apache
  2.                              Version 1.0 (and up)
  3.  
  4. What is it?
  5. -----------
  6.  
  7. Apache is an HTTP server designed as a plug-in replacement for the NCSA
  8. server version 1.3 (or 1.4). It fixes numerous bugs in the NCSA server and
  9. includes many frequently requested new features, and has an API which
  10. allows it to be extended to meet users' needs more easily.
  11.  
  12. Documentation
  13. -------------
  14.  
  15. All the documentation is on-line on the WWW, via <URL:http://www.apache.org/>.
  16.  
  17. Installation
  18. ------------
  19.  
  20. This program is distributed in source form only.  In order to compile
  21. it, you must set compile-time options (in particular, system type) for
  22. your system by editing a Configuration file, run a script which generates
  23. a Makefile and a small piece of C code, and then compile it.
  24.  
  25. For instructions on compilation, see the file 'INSTALL' in the src/ directory.
  26.  
  27. After compilation, you will have a binary called "httpd" in the src/
  28. directory.  If you received a binary distribution of apache, you
  29. should have this file already.
  30.  
  31. The next step is to edit the configuration files for the server.  In
  32. the subdirectory called "conf" you should find distribution versions
  33. of the three configuration files: srm.conf-dist, access.conf-dist, and
  34. httpd.conf-dist.  Copy them to srm.conf, access.conf, httpd.conf
  35. respectively.
  36.  
  37. First edit httpd.conf.  This sets up general attributes about the
  38. server - the port number, the user it runs as, etc.  Next edit the
  39. srm.conf file - this sets up the root of the document tree, special
  40. functions like server-parsed HTML or internal imagemap parsing, etc.
  41. Finally, edit the access.conf file to at least set the base cases of
  42. access. Documentation for all of these is located at
  43. <URL:http://www.apache.org/docs/>.
  44.  
  45. Finally, make a call to httpd, with a -f to the full path to the
  46. httpd.conf file.  I.e., the common case:
  47.  
  48.   /usr/local/etc/apache/src/httpd -f /usr/local/etc/apache/conf/httpd.conf
  49.  
  50. And voila!  The server should be running.
  51.  
  52. By default the srm.conf and access.conf files are located by name - to
  53. specifically call them by other names, use the AccessConfig and
  54. ResourceConfig directives in httpd.conf.
  55.  
  56. The Latest Version
  57. ------------------
  58.  
  59. Details of the latest version are in the apache project page (above).
  60. The most recent distribution is also available by anonymous ftp
  61. from ftp.ast.cam.ac.uk in the directory /pub/WWW/apache.
  62.  
  63. Licencing
  64. ---------
  65.  
  66. Please see the file called LICENSE.
  67.  
  68.